<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>

<?php
require_once('php/ImageRenderManager.php');

$publishDate = $_GET['publish_date'];
$imageCount = $_GET['image_count'];
?>

<title>Quality humor images for <?php print $publishDate; ?> and the following 4 days</title>
<meta name="" content="">
<link rel=stylesheet href="css/daily-giggle.css" type="text/css" media=screen>
</head>

<body style="background-image: url(images/daily-giggle-background.jpg);">

<?php 
showHeader();
displayImagesByPublishDate(new DateTime($publishDate), $imageCount);

?>
</body>
</html>